<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libsdl2</Name>
        <Homepage>http://www.libsdl.org/</Homepage>
        <Packager>
            <Name>Mathias Freire</Name>
            <Email>mathiasfreire45@gmail.com</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>Simple Direct Media Layer 2.0 series</Summary>
        <Description>libsdl is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.</Description>
        <Archive sha1sum="c4f87580630387796df4ac87c362b4f9a721457e" type="targz">http://www.libsdl.org/release/SDL2-2.0.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>dbus-devel</Dependency>
            <Dependency>ibus-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>audiofile-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libsdl2-docs</Name>
        <Summary>libsdl2 reference documents</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libsdl2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl2</Name>
        <RuntimeDependencies>
            <Dependency>mesa</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>audiofile</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl2-devel</Name>
        <Summary>Development files for libsdl2</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libsdl2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/libSDL2main.a</Path>
            <Path fileType="library">/usr/lib32/libSDL2main.a</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl2-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libsdl2</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libXt-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>audiofile-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libXScrnSaver-32bit</Dependency>
            <Dependency>pulseaudio-libs-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libXt-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>audiofile-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libXScrnSaver-32bit</Dependency>
            <Dependency>libXScrnSaver-32bit</Dependency>
            <Dependency>pulseaudio-libs-32bit</Dependency>
            
            <Dependency release="current">libsdl2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-12-12</Date>
            <Version>2.0.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>2.0.5</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.0.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-11</Date>
            <Version>2.0.4</Version>
            <Comment>First release</Comment>
            <Name>Mathias Freire</Name>
            <Email>mathiasfreire45@gmail.com</Email>
        </Update>
    </History>
</PISI>
